include <fitFunction.scad>

// set number of fragments(polygons) around circle
$fn = 180;
radius = 8.475;

difference()
{
	cylinder(r = radius + 3, h = 5, center = true, $fn = 8);

	// center shaft hole
	cylinder(r = fit(radius), h = 20, center = true);

	// set screw bolt insets
	for(side = [-5, -1, 3, 7])
	{
		rotate(22.5 * side, [0,0,1])
		translate([0,10,0])
		cube([fit(3),6,fit(3)], center=true);
	}
}